package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IUserOptLogDAO;
import org.jsbd.boss.domian.UserOptLog;
import org.springframework.stereotype.Service;
/**
 * 
 * 用户操作日志记录
 * @author <a href="mailto:zhangbinghua@zhexinit.com" >zbh</a>
 * @version 1.0.0
 */
@Service("userOptLogDAO")
public class UserOptLogDAOImpl extends CrackLogBaseDao implements IUserOptLogDAO {

    public void insert(UserOptLog records) {
        super.insert("qy_crack_useropt_log.INSERT_USEROPTLOG", records);
    }
    public List<UserOptLog> select(UserOptLog userOptLog) {
        return (List<UserOptLog>)super.queryForList("qy_crack_useropt_log.SELECT_ALL_USEROPTLOG", userOptLog);
    }
    public int selectCount(UserOptLog userOptLog) {
        return super.queryForCount("qy_crack_useropt_log.SELECT_ALL_COUNT",userOptLog);
    }
}
